﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using WCFAvante;
using Comandos.ComandoElegible;

namespace Fabricas
{
    public class FabricaComandosElegible
    {
        public static InsertarElegible CrearComandoIngresar(Elegible elegible)
        {
            return new InsertarElegible(elegible);
        }

        public static ConsultarElegible CrearComandoConsultar(Elegible elegible)
        {
            return new ConsultarElegible(elegible);
        }

        public static ModificarElegible CrearComandoModificar(Elegible elegible)
        {
            return new ModificarElegible(elegible);
        }

        public static EliminarElegible CrearComandoEliminar(Elegible elegible)
        {
            return new EliminarElegible(elegible);
        }
    }
}